package com.vo
{
	import mx.collections.ArrayCollection;
	import mx.utils.ObjectUtil;
	
	[Bindable]
	[RemoteClass(alias="com.icp.vo.ICPObjectsVO")]
	public class ICPObjectsVO extends ValueObject
	{
		public var  objectID:String;
		public var  objectDescription:String;
		public var  industryCode:String;
		public var  stageCode:String;
		public var  subStageCode:String;
		public var  sectorCode:String;
		public var  FACode:String;
		public var  FSACode:String;
		public var  comments:String;
		public var  SAPTables:String;
		public var  SAPTransactionCodes:String;
		public var  SAPMethods:String;
		public var  keywords:String;
		public var  required:Boolean;
		public var  crossFuncDependency:String;
		public var documents:ArrayCollection;
		
		public function copyObject():ICPObjectsVO
		{
			var obj:ICPObjectsVO = new ICPObjectsVO();
			var properties:Array = ObjectUtil.getClassInfo(obj).properties;
			for(var i:int=0;i<properties.length;i++)
	    	{
	    	 	var key:String = properties[i];
	    	 	obj[key] = this[key];
	    	}			
			return obj;
		}
	}
}